﻿using System.Windows;
using MovieDB4.Managers;
using MovieDB4.ViewModels;

namespace MovieDB4.Views
{
    /// <summary>
    /// Interaction logic for Movie.xaml
    /// </summary>
    public partial class Movie
    {
        readonly MovieViewModel _movieViewModel;
            
        public Movie()
        {
            InitializeComponent();
        }

        private void ButtonClick(object sender, RoutedEventArgs e)
        {
            var dlmngr = new DownloadManager();
            dlmngr.FindMovie(SearchTextBox.Text);
        }
    }
}
